package com.designschool.base.view;

import android.app.Dialog;
import android.content.Context;
import android.view.Window;
import android.widget.LinearLayout;
import android.widget.LinearLayout.LayoutParams;
import android.widget.TextView;

public class AuthorDialog extends Dialog {
    private TextView tv_content;

    public AuthorDialog(Context context) {
        super(context);
//        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setTitle("本软件信息");
        
        LinearLayout layout=new LinearLayout(context);
        layout.setOrientation(LinearLayout.VERTICAL);
        tv_content=new TextView(context);
      /*  LayoutParams params=new LayoutParams(800, 800);
        tv_content.setLayoutParams(params);*/
        tv_content.setTextSize(20);
        tv_content.setLineSpacing(40, 1);
        tv_content.setPadding(45, 50, 45, 120);
        tv_content.setText("版权者：开发聘请公司\n程序员：石宝同");
        layout.addView(tv_content);
        setContentView(layout);
    }

}
